import java.util.ArrayList;
import java.util.LinkedList;

class OuterClass2{
    public int data1 = 1;
    public int data2 = 2;
    public static int data3= 3;

    static class InClass{
        public int data4 = 4;
        private int data5 = 5;
        public static int data6= 6;
        public void test(){
            System.out.println(new OuterClass2().data1);
            System.out.println(new OuterClass2().data2);
            System.out.println(data3);
            System.out.println(data4);
            System.out.println(data5);
            System.out.println(data6);
        }
    }
}

class Test2 {
    public void test(){
        System.out.println("hahahah");
    }
}

public class TestDemo {
    public static void main(String[] args) {
        new Test2(){
            @Override
            public void test(){
                System.out.println("dasdhasidasdiasdua");
            }
        }.test();
    }

    public static void main1(String[] args) {
        OuterClass2.InClass inClass = new OuterClass2.InClass();
    }
}

